package sys.basic.util;

import org.apache.shiro.SecurityUtils;
import org.apache.shiro.session.Session;

/**
 * Created by hzq on 2017/6/15.
 */
public class Jurisdiction {
    /**
     * 获取session
     * shiro 管理session
     * @return
     */
    public static Session getSession(){
        return SecurityUtils.getSubject().getSession();
    }
}
